package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.jms.annotation.EnableJms;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableCaching//表示开启缓存
@EnableJms//表示启用消息队列
@EnableScheduling//表示开启定时任务
@MapperScan("com.dao")
@SpringBootApplication
public class CaiwuApplication {

    public static void main(String[] args) {
        SpringApplication.run(CaiwuApplication.class, args);
    }

}
